package okl.lab.components.events
{
	import flash.events.Event;
	
	import flashx.textLayout.elements.LinkElement;
	
	/**
	 *	@author "oleksandr.kulinchenko@gmail.com"
	 */
	public class SpellCheckEvent extends Event
	{
		public static const COMPLETE:String = "spellCheckComplete";
		public function SpellCheckEvent(type:String, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		public var misspelledWordsRenderers:Array; /*LinkElement*/
		override public function clone():Event{
			var event:SpellCheckEvent = new SpellCheckEvent(type, bubbles, cancelable);
			event.misspelledWordsRenderers=misspelledWordsRenderers;
			return event;
		}
	}
}